package com.jg.visitor.controller.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class ApproverQueryVO {

    @ApiModelProperty("访客名称")
    private String visitor;

    @ApiModelProperty("访客电话")
    private String phone;

    @ApiModelProperty("访客地址")
    private String address;

    @ApiModelProperty("访客车牌")
    private String plateNumber;

    @ApiModelProperty("身份证后四位")
    private String cardNumber;

    @ApiModelProperty("查询类型 0全部 1待审核 2已审核")
    private Integer searchType;

    @ApiModelProperty("查询页数")
    private Integer page;

    @ApiModelProperty("每页大小")
    private Integer pageSize;


    public enum StatusEnum{
        ALL(0),
        WAIT_APPROVE(1),
        APPROVED(2);

        public Integer status;

        StatusEnum(Integer status){
            this.status = status;
        }

        public Integer getStatus(){
            return status;
        }
    }
}
